﻿@model IEnumerable<Unijovem.UI.Models.AutorModel>
@{
    ViewBag.Title = "Index";
}
<h2>
    Index</h2>
<p>
    @Html.ActionLink("Create New", "Manter")
</p>
<table>
    <tr>
        <th>
            IdArquivo
        </th>
        <th>
            Informacao
        </th>
        <th>
            Nome
        </th>
        <th>
            Ativo
        </th>
        <th>
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.IdArquivo)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Informacao)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Nome)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Ativo)
            </td>
            <td>
                @Html.ActionLink("Edit", "Manter", new { id = item.Id }) |
                @Html.ActionLink("Details", "Details", new { id = item.Id }) 
            </td>
        </tr>
    }
</table>
